package org.ligson.fwc.api.vo;

import org.ligson.fwc.api.dto.BasePageDto;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by ligso on 2016/1/27.
 * 基本类
 *
 * @author ligson
 */
//@SuppressWarnings("unused")
@Data
public class BasicVo extends BasePageDto {

    /***
     * 是否要分页
     */
    private Boolean pageAble = true;

    /***
     * 排序字段
     */
    private String sort = "id";

    /***
     * 排序顺序
     */
    private String order = "ASC";
    //private Map<Str>

    /***
     * 保存和修改时是否校验
     */
    private boolean validate = true;


    private Map<String, Object> extParam = new HashMap<>();


}
